<?php
/**
 * 配置文件 config.php
 * User: minyifei
 * Date: 15/4/27
 */

return array(
    //默认数据库配置
    'DEFAULT_DB' => array(
        'DB_HOST' => 'localhost',
        'DB_NAME' => 'myfapi',
        'DB_USER' => 'root',
        'DB_PWD' => '123456',
        'DB_PORT' => '3306',
        'DB_PREFIX' => '',
    ),
    //命名空间配置文件
    'namespaces' => array(
        "MyfApi\Model" => dirname(APP_SYS_PATH) . "/models",
        "MyfApi\Libs" => dirname(APP_SYS_PATH) . "/libs",
    ),
    //访问白名单
    'white'=>array(
        'auth'=>array('anonymous'),
    ),
    //用于测试的签名，正式上线后请删除之
    'signature'=>'test123',
    'log'=>true,
    //配置缓存存储目录
    'temp_path' => "/var/tmp/myfapi/",
    //是否显示SQL日志
    'SQL_LOG'=>true,
);